package by.admonko.universaltesting.services;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import by.admonko.universaltesting.datamodel.QuestionResult;

public interface QuestionResultService {

	@Transactional
	QuestionResult getQuestResult(Integer id);

	@Transactional
	List<QuestionResult> getQuestResultByTestResult(Integer id);

	@Transactional
	void setQuestResult(QuestionResult questionResult);

	@Transactional
	void updateQuestResult(QuestionResult questionResult);

	@Transactional
	void removeQuestResultList(List<Integer> list);
}
